package com.le.tester.javaThink.fifth.chapter18_Str;

/**
 * createTime：2021/8/6 17:46
 * description：递归的输出元素
 */
public class ArrayListDisplay {
    public static void main(String[] args) {
//        List<Coffee> coffees =
//                Stream.generate(new CoffeeSupplier());

        String code = "125632565658965";
        System.out.println("Font code:" + code);
        System.out.println(code.replaceAll("(\\d{6})\\d{8}(\\w{4})", "$1*****$2"));

    }
}
